package laboratoryQ.ui.draw;

import java.awt.Graphics;

public interface IDrawStrategy {
	public static class DefaultDrawStrategy implements IDrawStrategy {
		static { System.out.println("\nPOST_ADVANCED_STYLE replace this responsibility with style"); }

		public static final IDrawStrategy INSTANCE = new DefaultDrawStrategy();
		@Override
		public void drawLine(Graphics g, int xp, int yp, int xc, int yc) {
			g.drawLine(xp, yp, xc, yc);
		}
	}
	public void drawLine(Graphics g, int x1, int y1, int x2, int y2);
}
